package com.xinou.daily_report.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.base.database.EntityBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.tomcat.jni.Local;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysWeekPlan对象", description="")
public class SysWeekPlan  extends EntityBase {



    @ApiModelProperty(value = "本周的重点工作")
    private String keyWork;

    @ApiModelProperty(value = "预测结果")
    private String expectedResult;

    @ApiModelProperty(value = "需要的资源支持")
    private String requiredResource;

    @ApiModelProperty(value = "周的id")
    private Long weekId;

    @ApiModelProperty(value = "用户的id")
    private Long userId;

    @ApiModelProperty(value = "部门的id")
    private Long deptId;

    @ApiModelProperty(value = "插入时间 yyyy-MM-dd HH:mm:ss", example = "2020-11-28 00:12:23", required = true)
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "insert_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime insertTime;


    @ApiModelProperty(value = "1~7表示周一到周日")
    private Integer weekDay;

    @ApiModelProperty(value = "阶段性结果")
    private String stageResult;


    @ApiModelProperty(value = "任务难度")
    private Integer taskDifficulty;


}
